import java.util.Scanner;

public class xiao_3_6 {
    public static void main(String[] args){

    }
    public static void main2(String[] args) {
        Demo.text1();
    }
    public static void main3(String[] args) {
        Scanner sr = new Scanner(System.in);
        System.out.println("请输入数组大小：");
        int size = sr.nextInt();
        int[] arr = new int[size];
        for (int i = 0; i < arr.length; i++) {
            System.out.println("请输入arr"+"["+i+"]");
            arr[i] = sr.nextInt();
        }
        for (int i = 0; i < arr.length; i++) {
            boolean a = true;
            for (int j = 0; j < arr.length; j++) {
                if(i!=j && arr[i] == arr[j]){
                    a = false;
                    break;
                }
            }

            if(a == true){
                System.out.println(arr[i]);
            }
        }
    }
    public static void main1(String[] args) {
        Scanner sr = new Scanner(System.in);
        int money = sr.nextInt();
        print(money);
        sr.close();
    }
    public static void print(int money){
        int count100 = 0;
        int count50 = 0;
        int count1 = 0;
        if(money >= 100){
            count100 = count100 + money/100;
            money %= 100;
        }
        if(money >= 50){
            count50 = count50 + money/50;
            money %= 50;
        }
        if(money >= 1){
            count1 = count1 + money/1;
        }
        System.out.println(count100);
        System.out.println(count50);
        System.out.println(count1);
    }
}
class Demo{
    public static void text1() {
        System.out.println("使用了Demo");
    }
}
